package com.glorysoft.knowlespda.entity;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * FileName: AuthEntity
 * Author: XJH
 * Date: 2022/7/13 10:37
 * Description:
 * History:
 */
public class AuthEntity implements Serializable {

    private String OPID;
    private String PDANO;
    private List<PdaEntity> PDANOS;

    public String getOPID() {
        return OPID == null ? "" : OPID;
    }

    public void setOPID(String OPID) {
        this.OPID = OPID;
    }

    public String getPDANO() {
        return PDANO == null ? "" : PDANO;
    }

    public void setPDANO(String PDANO) {
        this.PDANO = PDANO;
    }

    public List<PdaEntity> getPDANOS() {
        if (PDANOS == null) {
            return new ArrayList<>();
        }
        return PDANOS;
    }

    public void setPDANOS(List<PdaEntity> PDANOS) {
        this.PDANOS = PDANOS;
    }

    public static class PdaEntity implements Serializable{
        private String PDANO;
        private int ISPAIR;

        public String getPDANO() {
            return PDANO == null ? "" : PDANO;
        }

        public void setPDANO(String PDANO) {
            this.PDANO = PDANO;
        }

        public int getISPAIR() {
            return ISPAIR;
        }

        public void setISPAIR(int ISPAIR) {
            this.ISPAIR = ISPAIR;
        }
    }
}
